package gov.pbc.nn.kjgl.xkyyh.entity;

import gov.pbc.nn.core.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.bstek.dorado.annotation.PropertyDef;

/**
 * 培训部们，反馈的主表，新开业银行的主表
 * 
 * @author jack.zhao
 * 
 */
@Entity
@Table(name = "T_TRAIN_DEPT")
public class TrainDept extends BaseEntity {
	private static final long serialVersionUID = -7696145439692210926L;
	@Column(name = "BANK_ID_", length = 60)
	@PropertyDef(label = "新开业银行Id")
	private String bankId;

	@Column(name = "DEPT_ID_", length = 60)
	@PropertyDef(label = "辅导ID", description = "辅导ID:辅导ID")
	private String deptId;

	@Column(name = "DEPT_NAME_", length = 300)
	@PropertyDef(label = "辅导部门", description = "辅导部门:辅导部门")
	private String deptName;
	
	@Column(name = "TRAIN_CZ_", length = 64)
	@PropertyDef(label = "审核处长", description = "审核本次开业申请的处长id")
	private String trainCz;
	
	@Column(name = "TRAIN_CZ_CNAME_", length = 64)
	@PropertyDef(label = "审核处长", description = "审核本次开业申请的处长姓名")
	private String trainCzCname;

	// 辅导意见主要有回去或者不会去，详细的审批意见可以看流程的审批历史
	@Column(name = "OPINION_")
	@PropertyDef(label = "辅导意见", description = "0:等待操作:1同意辅导：2拒绝辅导")
	private int opinion;

	public String getBankId() {
		return bankId;
	}

	public void setBankId(String bankId) {
		this.bankId = bankId;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public int getOpinion() {
		return opinion;
	}

	public void setOpinion(int opinion) {
		this.opinion = opinion;
	}

	public String getTrainCz() {
		return trainCz;
	}

	public void setTrainCz(String trainCz) {
		this.trainCz = trainCz;
	}

	public String getTrainCzCname() {
		return trainCzCname;
	}

	public void setTrainCzCname(String trainCzCname) {
		this.trainCzCname = trainCzCname;
	}
	
}
